$(document).ready(function() {
	$('li#status_tabs').click(function() {
		$(this).css('background-color', '#00D0FF');
		$('li#status_tabs2').css('background-color', '#2B2B2B');
	});
	$('li#status_tabs2').click(function() {
		$(this).css('background-color', '#00D0FF');
		$('li#status_tabs').css('background-color', '#2B2B2B');
	});
	
	$('li#board_tabs').click(function() {
		$('li#board_tabs').css('background-color', '#00D0FF');
		$('li#board_tabs2').css('background-color', '#2B2B2B');
	});
	$('#board_tabs2').click(function() {
		$('li#board_tabs2').css('background-color', '#00D0FF');
		$('li#board_tabs').css('background-color', '#2B2B2B');
	});
	
	$('div.dept li').click(deptClick);
	$('section#team_page').click(sectionClick);
	$('div#close_btn').click(sectionClick);

});


function deptClick(){
	$('div.team_page_wrap').css({"margin-left":"-300px","margin-top":"-125px"});
	$('div.team_page_wrap').fadeIn("slow");
	
	$('section#team_page').css({
		"background-color":"Black",
		"opacity":0.7,"display":"block"
	});
}
function sectionClick(){
	$('div.team_page_wrap').fadeOut("slow");
	$('section#team_page').css({"background-color":"inherit","display":"none"});

}